﻿using System;
using System.Collections.Generic;
using System.Text;
using Elight.Entity;

namespace Elight.Repository.Interfaces
{
    public partial interface IUserRoleRepository : IBaseRepository<Sys_User_Role>
    {
        /// <summary>
        /// 获取用户所有的用户角色关系实体。
        /// </summary>
        /// <param name="userId">用户ID</param>
        /// <returns></returns>
        IEnumerable<Sys_User_Role> GetList(int userId);
    }
}
